home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 3
/
Cream of the Crop 3.iso
/
utility
/
ffg155.zip
/
USEIDEAS.FFG
< prev
next >
Wrap
Text File
|
1993-12-12
|
5KB
|
191 lines
IDEAS FOR USING FFG:
Q: How do I find a file whose name I can't remember but I know it had "92"
in the name or extension somewhere?
A: ffg *:*92*
Q: How do I find a file whose name I can't remember but I know it had the
words "save this forever" somewhere in the file?"
A: 1. ffg *:* "/$save this forever"
or
2. ffg *:* /$save=_this=_forever
Q: How do I find a file that I know has 'tax' in the name and '92' in the
name, but I'm not sure of the order or whether part is in the name
extension?
A: ffg *:*tax* *92*
Q: How to I find files that have info about both "Tom" and "Dick" (or
"Richard"), but nothing about "Harry"?
A: ffg *:* /$Tom /$Dick,Richard /$=!Harry
Q: How can I find a file and then make it's directory the current
directory?
A: ffg *:filename /g
Q: How do I find all files created or modify today without having to
specify today's date? How can I make backup copies of only those
files?
A: 1. ffg *:* /dT
2. ffg *:* /dT "/eBACKEM %n", where 'BACKEM' is your backup command.
Q: How can I find files that were modified during a certain period of the
day?
A: ffg *:* /t8:00-17:00
Q: How can a find all configuration files and compress them into an ZIP
file?
A: 1. To create a list file, then compress the batch:
ffg C:*c[,o,on]f[i,]g* /x*.[exe,com,zip] /fp /fs! > c:\cfg\config.lst
pkzip CONFIG.ZIP @config.lst
2. or, to do it one file at a time:
ffg C:*c[,o,on]f[i,]g* /x*.[exe,com,zip] "/ePKZIP -u C:\CFG\CFGS.ZIP %n"
Q: How can I find all files with a certain extension and rename them to
have a different extension?
A: 1. ffg *:*.old "/eREN %N %F.new" -- will confirm each one
2. ffg *:*.old "/e!REN %N %F.new" -- will do all w/o confirm
Q: How can I get a database inventory of all executable programs on my
computer?
A: ffg *:*.[exe,com] /f, /fs! > C:\DATA\EXELIST.TXT
Q: How can I clean up my disk of all temporary and backup files?
A: ffg *:*.[bk*,bak,tmp] "/eDEL %N"
Q: How can I delete all files that match a certain description, but have
an opportunity to confirm for each one whether or not to delete it?
A: ffg *:FileMask [Grouping Options] "/eDEL %N"
Q: How, in a batch file, can I determine of a directory exists?
A: See "direxist.bat" in UTIL_BAT.ZIP.
Q: How can I go find a file in an archive and unarchive it?
A: ffg *:filename /z. "/eUNARC %Z %N" --where UNARC is your unarchive
utility such as PKUNZIP
Q: How can I delete all files that haven't been modified in the last 30
days?
A: ffg *:* /d-30T "/eDEL %N"
Q: How can I audit a business computer for files that appear to be of a
personal nature?
A: Search for suspicious file names, text contents, hidden files, files in
hidden directories etc.
Q: How can I make all hidden files read-only too?
A: ffg *:* /ah "/eATTRIB +R %N"
Q: How can I find all of my tax files? doc files? help files?
A: See examples in EXAMPLES.FFG and in DEMO_BAT.ZIP
Q: How can I go find a file and immediately edit it? view it? search it
for text?
A: See GoEdit.bat, GoList.bat, GoFind.bat in GO_BAT.ZIP.
Q: How can I find all archiving programs and copy them onto a floppy disk?
A: ffg *:*[zip,arj,arc,lzh,zoo,pak]*.[exe,com,bat] "/eCOPY %N A:"
Q: How can I archive all files last modified in 1992?
A: ffg *:* /d92 /fp /fs! > c:\1992\1992.lst
C:
cd \1992
pkzip 1992.ZIP @1992.lst
Q: How can I find a file that was just created a few minutes ago, when I
don't know its name?
A: ffg *:* /dT /t5N- -- for last 5 minutes (See also RECENT.BAT)
Q: How can I find all files that were installed by Windows 3.1, no matter
where they are on my computer?
A: ffg *:* /d3/10/92 /t3:10
Q: How do I find all files that were last modified/created last weekend?
A: ffg *:* /dSa,Su /d7t-1t
Q: How find out if there are files in hidden directories?
A: ffg *:* /h.
Q: I have a various files with five letter names and no extensions
(XXXXX.). I want to rename only 1992 files so that they start with the
year and have my initials as the extension in the form 92-XXXXX.TGV.
How do I do it?
A: ffg *:?????. /d92 "/eREN %N 92-%F.TGV"
Q: How can I change the date/time of a group of files? (needs a dating
utility)
A: ffg *:FileMask [Grouping Options] "/eNEWDATE %N" --where NEWDATE is
the dating utility
Q: How to I copy, rename, delete, replace etc. a group of files, but have
an opportunity to verify the operation for each file?
A: See VDELETE.BAT for an example, but all this requires is use of the /e
execute option, without using the '!' no-confirm option.
Q: How can I use FFG to build useful utilities
A: See UTIL-BAT.ZIP